package com.luo.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author bin.cn
 * @since 2023-01-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("thumb")
public class Thumb implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 用户id
     */
    @TableField("user_id")
    private Integer userId;

    /**
     * 评论id
     */
    @TableField("comment_id")
    private Integer commentId;

    /**
     * 点赞时间
     */
    @TableField("gmt_create")
    private LocalDateTime gmtCreate;


}
